/*
 * author      : 吴中勤 
 * date        : 2018/8/16
 * description : 会员信息
 */

package com.deepexi.adapter.facade.moby.request;

import com.deepexi.adapter.common.BaseDto;
import com.deepexi.adapter.facade.moby.MobyConst;
import com.google.gson.annotations.SerializedName;

public class MobyRefundInfo extends BaseDto {

    @SerializedName("tradeOrderPaymentId")
    private String payOrderNo;      // 支付单号

    @SerializedName("updatedAt")
    private String updatedAt;       // 更新日期

    @SerializedName("refundMoney")
    private String refundMoney;     // 退款金额

    @SerializedName("updatedBy")
    private String operatorId;      // 操作人

    @SerializedName("status")
    private String status;          // 退款状态 isRefundDone=已退款

    @SerializedName("id")
    private String refundOrderId;   // 退款单号

    public boolean isRefundDone() {
        return MobyConst.REFUND_STATUS_OK.equals(status);
    }
    // ============= setter & getter =============

    public String getRefundOrderId() {
        return refundOrderId;
    }

    public void setRefundOrderId(String refundOrderId) {
        this.refundOrderId = refundOrderId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getRefundMoney() {
        return refundMoney;
    }

    public void setRefundMoney(String refundMoney) {
        this.refundMoney = refundMoney;
    }

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }
}
